package com.chinatechstar.file.entity;

import com.chinatechstar.component.commons.entity.CreateEntity;
import org.apache.commons.lang3.builder.EqualsBuilder;
import org.apache.commons.lang3.builder.HashCodeBuilder;
import org.apache.commons.lang3.builder.ReflectionToStringBuilder;

/**
 * sys_file_storage
 *
 * @author Rei
 * @version 1.0.0 2021-01-03
 */
public class SysFileStorage extends CreateEntity implements java.io.Serializable {
    /**
     * 版本号
     */
    private static final long serialVersionUID = 7717128550197704093L;

    /* This code was generated by TableGo tools, mark 1 begin. */

    /**
     * 文件仓储id
     */
    private Long id;

    /**
     * 文件仓储名称
     */
    private String fileStorageName;

    /**
     * 文件仓储类型(dict)
     */
    private String fileStorageType;

    /**
     * 文件仓储根路径
     */
    private String fileStoragePath;

    /**
     * 资源访问路径
     */
    private String fileStorageAccessPath;

    /**
     * 文件仓储账户
     */
    private String fileStorageAccount;

    /**
     * 文件仓储密码
     */
    private String fileStoragePassword;

    /* This code was generated by TableGo tools, mark 1 end. */

    /* This code was generated by TableGo tools, mark 2 begin. */

    /**
     * 获取文件仓储id
     *
     * @return 文件仓储id
     */
    public Long getId() {
        return this.id;
    }

    /**
     * 设置文件仓储id
     *
     * @param id 文件仓储id
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 获取文件仓储名称
     *
     * @return 文件仓储名称
     */
    public String getFileStorageName() {
        return this.fileStorageName;
    }

    /**
     * 设置文件仓储名称
     *
     * @param fileStorageName 文件仓储名称
     */
    public void setFileStorageName(String fileStorageName) {
        this.fileStorageName = fileStorageName;
    }

    /**
     * 获取文件仓储类型(dict)
     *
     * @return 文件仓储类型(dict)
     */
    public String getFileStorageType() {
        return this.fileStorageType;
    }

    /**
     * 设置文件仓储类型(dict)
     *
     * @param fileStorageType 文件仓储类型(dict)
     */
    public void setFileStorageType(String fileStorageType) {
        this.fileStorageType = fileStorageType;
    }

    /**
     * 获取文件仓储根路径
     *
     * @return 文件仓储根路径
     */
    public String getFileStoragePath() {
        return this.fileStoragePath;
    }

    /**
     * 设置文件仓储根路径
     *
     * @param fileStoragePath 文件仓储根路径
     */
    public void setFileStoragePath(String fileStoragePath) {
        this.fileStoragePath = fileStoragePath;
    }

    /**
     * 获取资源访问路径
     *
     * @return 资源访问路径
     */
    public String getFileStorageAccessPath() {
        return this.fileStorageAccessPath;
    }

    /**
     * 设置资源访问路径
     *
     * @param fileStorageAccessPath 资源访问路径
     */
    public void setFileStorageAccessPath(String fileStorageAccessPath) {
        this.fileStorageAccessPath = fileStorageAccessPath;
    }

    /**
     * 获取文件仓储账户
     *
     * @return 文件仓储账户
     */
    public String getFileStorageAccount() {
        return this.fileStorageAccount;
    }

    /**
     * 设置文件仓储账户
     *
     * @param fileStorageAccount 文件仓储账户
     */
    public void setFileStorageAccount(String fileStorageAccount) {
        this.fileStorageAccount = fileStorageAccount;
    }

    /**
     * 获取文件仓储密码
     *
     * @return 文件仓储密码
     */
    public String getFileStoragePassword() {
        return this.fileStoragePassword;
    }

    /**
     * 设置文件仓储密码
     *
     * @param fileStoragePassword 文件仓储密码
     */
    public void setFileStoragePassword(String fileStoragePassword) {
        this.fileStoragePassword = fileStoragePassword;
    }

    /* This code was generated by TableGo tools, mark 2 end. */

    /* This code was generated by TableGo tools, mark 3 begin. */

    @Override
    public boolean equals(Object obj) {
        return EqualsBuilder.reflectionEquals(obj, this);
    }

    @Override
    public int hashCode() {
        return HashCodeBuilder.reflectionHashCode(this);
    }

    @Override
    public String toString() {
        return ReflectionToStringBuilder.toString(this);
    }

    /* This code was generated by TableGo tools, mark 3 end. */
}